package campus.aiit.ssl.dao;

import campus.aiit.ssl.domain.model.CollectLog;
import campus.aiit.ssl.manage.custom.dao.BaseDao;

/**
 * @author ihaokun
 * @date 2019/12/22 15:18
 */
public interface CollectLogDao extends BaseDao<CollectLog> {

  @Override
  int insertSelective(CollectLog record);

  CollectLog selectByForeignKey(long deviceId);

  int updateDeviceStatus(CollectLog collectLog);

  int addElectricConsumeLog();

}